//
//  BinDingPromptView.m
//  firstpoint
//
//  Created by 泽中 on 2017/7/18.
//  Copyright © 2017年 xzcysoft. All rights reserved.
//

#import "BinDingPromptView.h"

@implementation BinDingPromptView

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        UIView*view=[[UIView alloc]initWithFrame:CGRectMake(0, 0, width_screen, 65)];
        view.backgroundColor=LRRGBColor(253, 246, 230);
        [self addSubview:view];
        
        UIImageView*imgView=[[UIImageView alloc]initWithFrame:CGRectMake(10, 5, 25, 25)];
        imgView.image=[UIImage imageNamed:@"xxgrzxgyyd"];
        imgView.contentMode=UIViewContentModeScaleAspectFit;
        [view addSubview:imgView];
        UILabel*titleLab=[[UILabel alloc]initWithFrame:CGRectMake(40, 10, 200, 13)];
        titleLab.textColor=[UIColor redColor];
        titleLab.text=@"注意事项";
        titleLab.font=[UIFont systemFontOfSize:13];

        [view addSubview:titleLab];
        
        UILabel*infoLab=[[UILabel alloc]initWithFrame:CGRectMake(40, 25, width_screen-60, 35)];
        infoLab.numberOfLines=0;
        infoLab.font=[UIFont systemFontOfSize:13];
        infoLab.text=@"该信息用于日后体现，请准确填写，信息有误，将不能提现到账。";
        [view addSubview:infoLab];
    }
    return self;
}

@end
